package com.app.micaihu.bean.comment;

import com.app.micaihu.bean.infor.GetTaskBean;

/**
 * 评论结果
 * Created by linkai on 2016/7/25.
 */
public class CommentResult extends GetTaskBean {

    private String id;//评论id
    private String uid;//评论用户id
    private String nickName;//用户昵称
    private String articleId;//文章id
    private String content;//评论内容
    private String parentCmtId;//父评论id
    private String praiseNum;//评论点赞数
    private String publishTime;//评论发表时间
    private String headPic;//用户头像
    private String rankIcon;//用户军衔图标
    private String childNum;//子评论总数
    private String rankName;//用户等级
    private String status;//评论状态： 0正常  1 未审核  2删除
    private String pUid;//父评论的用户id
    private String pNickName;//父评论昵称
    private String type;//子评论类型  1 一级子评论 2 二级子评论


    //210 的游戏新增字段
    private String star;//评论游戏的星星

    private String honourPic;//军团勋章
    private String armyGroupInfo;//所属军团 或 军团职位
    private String gid;//所属军团 id

    public String getHonourPic() {
        return honourPic;
    }

    public void setHonourPic(String honourPic) {
        this.honourPic = honourPic;
    }

    public String getArmyGroupInfo() {
        return armyGroupInfo;
    }

    public void setArmyGroupInfo(String armyGroupInfo) {
        this.armyGroupInfo = armyGroupInfo;
    }

    public String getGid() {
        return gid;
    }

    public void setGid(String gid) {
        this.gid = gid;
    }

    public String getStar() {
        return star;
    }

    public void setStar(String star) {
        this.star = star;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getArticleId() {
        return articleId;
    }

    public void setArticleId(String articleId) {
        this.articleId = articleId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getParentCmtId() {
        return parentCmtId;
    }

    public void setParentCmtId(String parentCmtId) {
        this.parentCmtId = parentCmtId;
    }

    public String getPraiseNum() {
        return praiseNum;
    }

    public void setPraiseNum(String praiseNum) {
        this.praiseNum = praiseNum;
    }

    public String getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(String publishTime) {
        this.publishTime = publishTime;
    }

    public String getHeadPic() {
        return headPic;
    }

    public void setHeadPic(String headPic) {
        this.headPic = headPic;
    }

    public String getRankIcon() {
        return rankIcon;
    }

    public void setRankIcon(String rankIcon) {
        this.rankIcon = rankIcon;
    }

    public String getChildNum() {
        return childNum;
    }

    public void setChildNum(String childNum) {
        this.childNum = childNum;
    }

    public String getRankName() {
        return rankName;
    }

    public void setRankName(String rankName) {
        this.rankName = rankName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getpUid() {
        return pUid;
    }

    public void setpUid(String pUid) {
        this.pUid = pUid;
    }

    public String getpNickName() {
        return pNickName;
    }

    public void setpNickName(String pNickName) {
        this.pNickName = pNickName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public NewsComment toComment(){
        NewsComment newsComment = new NewsComment();
        newsComment.setId(this.id);
        newsComment.setArticleId(this.articleId);
        newsComment.setUid(this.uid);
        newsComment.setPraiseNum(this.praiseNum);
        newsComment.setChildNum(this.childNum);
        newsComment.setContent(this.content);
        newsComment.setHeadPic(this.headPic);
        newsComment.setNickName(this.nickName);
        newsComment.setParentCmtId(this.parentCmtId);
        newsComment.setPublishTime(this.publishTime);
        newsComment.setRankIcon(this.rankIcon);
        newsComment.setRankName(this.rankName);
        newsComment.setStatus(this.status);
        newsComment.setpNickName(this.pNickName);
        newsComment.setType(this.type);
        newsComment.setpUid(this.pUid);
        newsComment.setChildNum(this.childNum);
        newsComment.setStar(this.star);
        newsComment.setGid(this.gid);
        newsComment.setHonourPic(this.honourPic);
        newsComment.setArmyGroupInfo(this.armyGroupInfo);

        return newsComment;
    }
}
